﻿using System.Collections.Generic;

namespace Dto
{
    public class ManageMenuDto
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        public int MenuID { get; set; }

        /// <summary>
        /// 菜单名
        /// </summary>
        public string MenuName { get; set; }

        /// <summary>
        /// 菜单关键字
        /// </summary>
        public string MenuKey { get; set; }

        /// <summary>
        /// 子菜单集合
        /// </summary>
        public IList<ManageMenuDto> ChildMenuList { get; set; }

        /// <summary>
        /// 上级菜单ID
        /// </summary>
        public int MenuSuperiorID { get; set; }

        /// <summary>
        /// 菜单对应路径
        /// </summary>
        public string MenuPath { get; set; }

        /// <summary>
        /// 排序值
        /// </summary>
        public int MenuOrder { get; set; }

        /// <summary>
        /// 旧键值（更新时用）
        /// </summary>
        public string MenuOldKey { get; set; }
    }
}